package com.leaderhr.fishshop.service.product;

import java.util.List;


import com.leaderhr.fishshop.form.Pager;
import com.leaderhr.fishshop.form.ProductTypeForm;
import com.leaderhr.fishshop.form.Tree;
import com.leaderhr.fishshop.model.product.ProductType;

public interface IProductTypeService {

	/**
	 * 获得商品类别
	 * 
	 * @param id
	 * @return
	 */
	public ProductTypeForm load(Integer id);

	/**
	 * 编辑商品类别
	 * 
	 * @param role
	 */
	public void edit(ProductTypeForm productTypeForm);

	
	/**
	 * 获得商品类型treeGrid
	 * 
	 * @return
	 */
	public List<ProductTypeForm> treeGrid();
	/**
	 * 添加类别
	 * 
	 * @param role
	 */
	public void add(ProductTypeForm productTypeForm);
	/**
	 * 获得商品类别树
	 * 
	 * @return
	 */
	public List<Tree> tree();
}
